redis-server --requirepass 'xxxxxx' > redis.log &

jobs

kill

netstat -nap | grep redis

redis-cli -h 110.111.111.99 默认6379
redis-cli -h 110.111.111.99 -p 1234

ping
auth 'xxxxxx'
ping hello

set username jack
get username

set username hellokitty ex 30
set 13661119493 567889 ex 300
get username
ttl 13661119493

# 测试性能
redis-benchmark